@import './common';
@import './head';
@import './foot';

.development-box {
    background: url('../images//extension_26.png') 100% 100% no-repeat;

    .development-content {
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        padding-bottom: 70px;

        .development-item {
            position: relative;
            padding-top: 70px;
            z-index: 9;

            img {
                max-width: 150px;
                height: auto;
            }

            &:nth-child(1) {
                margin-right: 40px;

                .development-top {
                    padding-right: 70px;
                    margin-bottom: 35px;
                }

                &::after {
                    content: '';
                    position: absolute;
                    top: 20%;
                    right: -7%;
                    z-index: -1;
                    width: 1px;
                    height: 80%;
                    display: block;
                    transform: translate(-50%, -50%);
                    transform: rotate(55deg);
                    background: #586E7F;
                }
            }

            &:nth-child(2) {
                .development-top {
                    padding-right: 0;
                }

                .img-box {
                    text-align: center;
                    margin-bottom: 35px;
                }

                margin: 0 40px;

                &::after {
                    content: '';
                    position: absolute;
                    top: 5%;
                    right: 0;
                    z-index: -1;
                    width: 1px;
                    height: 90%;
                    display: block;
                    transform: translate(-50%, -50%);
                    transform: rotate(125deg);
                    background: #586E7F;
                }
            }

            &:nth-child(3) {
                text-align: center;
                margin: 0 40px;

                .img-box {
                    text-align: center;
                }

                .development-top {
                    padding-right: 0;
                    margin-right: 0;
                    margin-bottom: 35px;
                }

                &::after {
                    content: '';
                    position: absolute;
                    top: 20%;
                    right: 0;
                    z-index: -1;
                    width: 1px;
                    height: 90%;
                    display: block;
                    transform: translate(-50%, -50%);
                    transform: rotate(55deg);
                    background: #586E7F;
                }
            }

            &:nth-child(4) {
                margin-left: 40px;

                .img-box {
                    text-align: left;
                    margin-bottom: 35px;
                }

                .development-top {
                    padding-right: 0;
                    padding-left: 70px;
                }
            }

            .development-top {
                text-align: center;

                .development-title {
                    text-align: center;
                    font-size: 20px;
                    color: map-get($map: $colors, $key: '799');
                    margin-bottom: 30px;
                    font-weight: bold;

                    &+p {
                        max-width: 266px;
                        color: #333333;
                        font-size: 16px;
                        line-height: 30px;
                    }
                }
            }

            .img-box {
                width: 100%;
                text-align: right;
            }
        }
    }
}

.extension-box {
    padding: 50px;
    display: flex;
    justify-content: center;

    img {
        width: 100%;
        max-width: 700px;
    }

    .extension-box-left {
        display: flex;
        align-items: center;
        margin-right: 40px;

        .block-box {
            width: 20px;
            height: 200px;
            background: linear-gradient(0deg, #384B59, #7992A6);
        }

        .extension-line {
            width: 129px;
            height: 1px;
            border: 1px dashed #586E7F;

        }

        .extension-ball {
            width: 8px;
            height: 8px;
            background: #586E7F;
            border-radius: 50%;
        }
    }

    .extension-box-right {
        display: flex;
        flex-direction: column;
        justify-content: center;

        img {
            width: 100px;
            height: 100px;
            margin-right: 30px;
        }

        .right-item {
            &:nth-child(2) {
                margin: 110px 0;
            }

            align-items: center;

            .right-text {
                .right-title {
                    font-size: 20px;
                    font-weight: bold;
                    margin-bottom: 20px;
                    color: map-get($map: $colors, $key: '799');

                    &+p {
                        max-width: 545px;
                        line-height: 30px;
                        font-size: 16px;
                        color: #333333;
                    }
                }
            }
        }
    }
}

.operate-box {
    background: #F7F7F7;
    padding: 50px 0;
    display: flex;
    justify-content: center;

    .operate-item {
        display: flex;
        flex-direction: column;

        &:nth-child(2) {
            margin: 0 110px;
        }

        img {
            width: 50px;
            height: 50px;
        }

        .operate-top {
            width: 460px;
            padding: 0 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #fff;
            font-size: 20px;
            font-weight: bold;
            background: #7992A6;
            border-radius: 40px 0px 0px 0px;
        }

        .operate-bottom {
            padding: 35px 0;
            background: #ffffff;

            .operate-text {
                max-width: 350px;
                margin: 0 auto;
                line-height: 36px;
                font-size: 18px;
            }
        }
    }
}

@media screen and (max-width: 750px) {
    .banner-box {
        margin-bottom: 0.5067rem;
    }

    .development-box {

        .development-content {
            display: flex;
            justify-content: center;
            box-sizing: border-box;
            padding: 0 0.4rem !important;
            flex-wrap: wrap;
            padding-bottom: 0.4rem !important;

            .development-item {
                position: relative;
                padding-top: 0 !important;
                z-index: 9;
                text-align: center;
                max-width: 49%;

                img {
                    max-width: 2rem !important;
                    height: auto;
                }

                &:nth-child(1) {
                    margin-right: 0 !important;

                    .img-box {
                        text-align: center;
                    }

                    .development-top {
                        padding-right: 0 !important;
                        margin-bottom: 0.4rem !important;
                    }

                    &::after {
                        top: 30%;
                        right: 0;
                        height: 4rem !important;
                    }
                }

                &:nth-child(2) {
                    .development-top {
                        padding-right: 0;
                    }

                    .img-box {
                        text-align: center;
                        margin-bottom: 0.4rem !important;
                        margin-top: 1.6rem;
                    }

                    margin: 0 0 0.5333rem 0 !important;

                    &::after {
                        height: 0;
                    }
                }

                &:nth-child(3) {
                    text-align: center;
                    margin: 0 !important;

                    .img-box {
                        text-align: center;
                    }

                    .development-top {
                        margin-bottom: 0.4rem !important;
                    }

                    &::after {
                        top: 23%;
                        height: 4rem;
                    }
                }

                &:nth-child(4) {
                    margin-left: 0 !important;

                    .img-box {
                        text-align: center;
                        margin-bottom: 0.4667rem;
                        margin-top: 1.6rem;

                    }

                    .development-top {
                        padding-right: 0;
                        padding-left: 0 !important;
                    }
                }

                .development-top {
                    text-align: center;

                    .development-title {
                        text-align: center;
                        font-size: 0.4267rem !important;
                        color: map-get($map: $colors, $key: '799');
                        margin-bottom: 0.24rem;
                        font-weight: bold;

                        &+p {
                            max-width: 100% !important;
                            color: #333333;
                            font-size: 0.3467rem;
                            line-height: 0.64rem;
                        }
                    }
                }
            }
        }
    }

    .extension-box {
        padding: 0.4rem !important;
        flex-wrap: wrap;

        img {
            max-width: 100% !important;
        }

        .extension-box-left {
            margin-right: 0;
            margin-bottom: 0.4rem;
        }

        .extension-box-right {
            .right-item {
                align-items: flex-start !important;

                img {
                    width: 1.3333rem;
                    height: 1.3333rem;
                    margin-right: 0.4rem;
                }

                &:nth-child(2) {
                    margin: 0.5333rem 0 !important;
                }

                .right-title {
                    font-size: 0.4267rem !important;
                    margin-bottom: 0.2667rem !important;

                    &+p {
                        max-width: 100% !important;
                        line-height: 0.64rem;
                        font-size: 0.3467rem !important;
                    }
                }
            }
        }
    }

    .operate-box {
        padding: 0.5333rem 1rem !important;
        flex-wrap: wrap;

        .operate-item {
            margin-bottom: 0.4rem;

            &:nth-child(2) {
                margin: 0 0 0.4rem 0;
            }

            .operate-top {
                width: 100% !important;
                font-size: 0.4267rem !important;
                padding: 0.2667rem 0.8rem;
                border-radius: 0.5333rem 0px 0px 0px !important;

                img {
                    width: 0.6667rem;
                    height: 0.6667rem;
                }
            }
            .operate-bottom {
                padding: 0.5333rem 0.8rem !important;
                .operate-text {
                    max-width: 100% !important;
                    font-size: 0.3467rem !important;
                    line-height: 0.64rem !important;
                }
            }
        }
    }

}